.form-box{
  width: 600px;
  height: 500px;
  background-color: white;
  box-shadow: rgba(128, 128, 128, .3) 0 3px 5px 0;
  transform: translateY(-50%);
  border-radius: 20px;

  .login-type{
    width: 100%;
    height: 50px;
    display: flex;

    div{
      width: 50%;
      height: 100%;
      text-align: center;
      line-height: 50px;
      cursor: pointer;
      border-bottom: 1px darkgray solid;
      transition: all linear .2s;
      &:hover{
        border-bottom: 1px #1890ff solid;
      }
      span{
        font-size: 15px;
        color: gray;
      }
    }
    div+div{
      border-left: 1px darkgray solid;
    }
  }

  .login-form{
    width: 100%;
    height: calc(100% - 85px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    .text-login-box{
      width: 60%;
      height: 60%;
      margin-top: 50px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;

      p{
        width: 100%;
        font-size: 20px;
        line-height: 35px;
        color: gray;
        border-bottom: 2px solid darkgray;
        margin: 0;
      }

      button{
        width: 100%;
        background-color: #1890ff;
        color: white;
      }
    }
    .text-reg-box{
      width: 60%;
      height: 20px;
      text-align: right;
      margin-top: 5px;
      span{
        margin-left: 10px;
        color: darkgray;
        cursor: pointer;
        &:hover{
          color: #1890ff;
        }
      }
    }
    .code-box{
      width: 280px;
      height: 280px;
      position: relative;
      top: 50%;
      transform: translateY(-50%);
      .ant-image{
        width: 100%;
        height: 100%;
        img{
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  .login-footer{
    width: 100%;
    height: 35px;
    border-top: 1px darkgray solid;
    line-height: 35px;
    padding: 0 10px;
    color: darkgray;
    &>span{
      margin-left: 15px;
    }
  }
}